package com.soviet.boot.business.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import com.soviet.boot.business.system.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.soviet.boot.business.system.vo.SysUserVo;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author Dave
 * @since 2021/07/20
 */
public interface ISysUserService extends IService<SysUser>, UserDetailsService {

    Object accountExist(String account);

    Object addUser(SysUser sysUser);

    Object pageList(PageDTO<SysUserVo> page, SysUserVo query);
}
